<?php
/**
 * IceTabs Module for Joomla 1.6 By IceTheme
 * 
 * 
 * @copyright	Copyright (C) 2008 - 2011 IceTheme.com. All rights reserved.
 * @license		GNU General Public License version 2
 * 
 * @Website 	http://www.icetheme.com/Joomla-Extensions/icetabs.html
 * @Support 	http://www.icetheme.com/Forums/IceTabs/
 *
 */
?> 

<div class="ice-description">
	<h3 class="ice-title">
    	<?php if($params->get('show_readmore','0')) { ?>
		<a <?php echo $target;?>  href="<?php echo $row->link;?>" title="<?php echo $row->title;?>"><?php echo $row->title;?></a>
         <?php } else { ?>
          <?php echo $row->title; ?>
        <?php }?>
	</h3>
    
	<?php if($params->get('item-content','introtext') == 'introtext') : ?>
		<?php echo $row->introtext; ?>
	<?php else : ?>
    
    	<div class="imageClass">
    
		<?php if($params->get('show_readmore','0')) { ?>
			<a class="ice-readmore" <?php echo $target;?>  href="<?php echo $row->link;?>" title="<?php echo $row->title;?>">
				<?php echo $row->mainImage; ?>
			</a>
           
           
         </div>
             <?php } else { ?>
             	<?php echo $row->mainImage; ?>
            <?php }?> 
        
		<?php echo $row->description;?>
        <br />

        
	<?php endif; ?>
    
    
    
		<?php if($params->get('show_readmore', 1)): ?>
            <a class="ice-readmore" <?php echo $target;?>  href="<?php echo $row->link;?>" title="<?php echo $row->title;?>">
                <?php echo JText::_('Read more...');?>
            </a>
        <?php endif; ?>
        
    
    
</div>